package com.zerotwo.exam.center.vo;

import com.zerotwo.exam.center.model.ExamInfo;
import com.zerotwo.exam.center.model.ExamPaper;
import com.zerotwo.exam.user.model.Classes;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;
import java.util.Set;


/**
 * @author 02
 * @version 1.0
 * @Date 2024/7/5
 * @Description 考试信息
 */
@Data
@Schema(name = "ExamInfoVo", description = "考试信息")
public class ExamInfoVo {
    @Valid
    @NotNull(message = "考试信息不能为空")
    private ExamInfo examInfo;
    @NotEmpty(message = "班级列表不能为空")
    private Set<Integer> classIds;
    private ExamPaper paper;
    private List<Classes> classList;
}
